import Layout from '@/layout'
export default {
  path: '/transit',
  component: Layout,
  meta: { title: '车辆管理', icon: 'transit' },
  redirect: '/transport',
  children: [
    {
      path: '/transit/car-models',
      component: () => import('@/views/transit/CarModels'),
      meta: { title: '车型管理', icon: '' }
    },
    {
      path: '/transit/vehicle',
      component: () => import('@/views/transit/vehicle'),
      meta: { title: '车辆列表', icon: '' }
    },
    {
      path: '/transit/car-register',
      component: () => import('@/views/transit/CarRegister'),
      meta: { title: '回车登记', icon: '' }
    },
    {
      path: '/transit/vehicle-detail/:id?',
      hidden: true,
      component: () => import('@/views/transit/vehicle/vehicle-detail.vue'),
      meta: { title: '查看详情' }
    }
  ]
}
